package com.pkx.cloud.fse7.dms.openpic.service;

import com.pkx.cloud.fse7.dms.openpic.entity.OpenPic;
import com.pkx.cloud.mybatis.comn.BaseSev;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * 门禁 服务类
 *
 * @author ly
 * @since 2020-10-14
 */
public interface OpenPicService extends BaseSev<OpenPic> {

    /**
     * 分页列表
     *
     * @param openPic
     * @return
     */
    Page<OpenPic> pageList(Page page, OpenPic openPic);

    /**
     * 列表查询
     *
     * @param openPic
     * @return
     */
    List<OpenPic> listByEntity(OpenPic openPic);

    /**
     * 详情
     *
     * @param id
     * @return
     */
    OpenPic selectById(Long id);
    String add(OpenPic openPic);
    String update(OpenPic openPic);
    String delete(String id);

}
